package com.wujie.market.po;

/**
 * ClassName: Goods
 * Description:
 * date: 2023/1/27 18:50
 *
 * @author 吴杰
 * @since JDK 1.8.0_31
 */

public class Goods {
    private int gId;
    private String gName;
    private String origin;
    private String manufacturer;
    private double purchasePrice;
    private double salePrice;
    private String size;
    private String shelfLife;
    private int curNum;
    private String barCode;
    private String gType;
    private int saleNum;

    public Goods() {
    }

    public Goods(int gId, String gName, String origin, String manufacturer, double purchasePrice, double salePrice, String size, String shelfLife, int curNum, String barCode, String gType, int saleNum) {
        this.gId = gId;
        this.gName = gName;
        this.origin = origin;
        this.manufacturer = manufacturer;
        this.purchasePrice = purchasePrice;
        this.salePrice = salePrice;
        this.size = size;
        this.shelfLife = shelfLife;
        this.curNum = curNum;
        this.barCode = barCode;
        this.gType = gType;
        this.saleNum = saleNum;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "gId=" + gId +
                ", gName='" + gName + '\'' +
                ", origin='" + origin + '\'' +
                ", manufacturer='" + manufacturer + '\'' +
                ", purchasePrice=" + purchasePrice +
                ", salePrice=" + salePrice +
                ", size='" + size + '\'' +
                ", shelfLife='" + shelfLife + '\'' +
                ", curNum=" + curNum +
                ", barCode='" + barCode + '\'' +
                ", gType='" + gType + '\'' +
                ", saleNum=" + saleNum +
                '}';
    }

    public int getSaleNum() {
        return saleNum;
    }

    public void setSaleNum(int saleNum) {
        this.saleNum = saleNum;
    }

    public String getgType() {
        return gType;
    }

    public void setgType(String gType) {
        this.gType = gType;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public int getgId() {
        return gId;
    }

    public void setgId(int gId) {
        this.gId = gId;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public double getPurchasePrice() {
        return purchasePrice;
    }

    public void setPurchasePrice(double purchasePrice) {
        this.purchasePrice = purchasePrice;
    }

    public double getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(double salePrice) {
        this.salePrice = salePrice;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getShelfLife() {
        return shelfLife;
    }

    public void setShelfLife(String shelfLife) {
        this.shelfLife = shelfLife;
    }

    public int getCurNum() {
        return curNum;
    }

    public void setCurNum(int curNum) {
        this.curNum = curNum;
    }


}
